﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using CSF.BusinessCore.Data;

namespace CSF.Products.Data
{
    /// <summary>
    /// Author: Robin
    /// Create Date: 2011-9-9
    /// 产品型号
    /// </summary>
    public class ProductModel : Transaction
    {
        /// <summary>
        /// 网店id
        /// </summary>
        public int ApplicationId { get; set; }

        /// <summary>
        /// 产品类型Id
        /// </summary>
        public int ProductTypeId { get; set; }

        /// <summary>
        /// 颜色Id
        /// </summary>
        public int ColorId { get; set; }

        /// <summary>
        /// 具体型号的单价（FOB）
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 型号名称
        /// </summary>
        public string ModelName { get; set; }

        public bool OutOfStock { get; set; }
        public DateTime? AvailableDate { get; set; }

        public string Photo { get; set; }

        public string PhotoLarge { get; set; }

        /// <summary>
        /// 材质1的产品id
        /// </summary>
        public int Material1 { get; set; }

        /// <summary>
        /// 材质2的产品id
        /// </summary>
        public int Material2 { get; set; }

        /// <summary>
        /// 材质3的产品id
        /// </summary>
        public int Material3 { get; set; }

        /// <summary>
        /// 是否可以放入购物车
        /// </summary>
        public bool IsValid { get; set; }
    }
}
